package com.nmsl.system.presc_temp.controller;

import com.nmsl.system.presc_temp.domain.ExaminationInfo;
import com.nmsl.system.presc_temp.service.IExaminationInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/system/examinationInfo")
public class ExaminationInfoController {
    @Autowired
    private IExaminationInfoService iexaminationInfoService;

    @PostMapping("/insert")
    public int insert(@RequestBody ExaminationInfo examinationInfo){
        return iexaminationInfoService.addExaminationInfo(examinationInfo);
    }


}
